home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / g5109b.zip / G5.ZIP / G5_STRUC.ZIP / G5_CODES.TXT < prev    next >
Text File  |  1996-11-27  |  10KB  |  202 lines

  1. ┌───────────────────────────────────────────────────────────────────────────┐
  2. │ This text file serves as an explanation of how the color codes are used   │
  3. │ within ──══ Galaxy 5 ══──                                                 │
  4. └───────────────────────────────────────────────────────────────────────────┘
  5.  
  6.     Galaxy 5 makes use of simple color codes very similiar to those used by
  7.  Wildcat! BBS software. The only difference in the color codes, is that
  8.  G5 uses a tilde (~) instead of an AT (@) sign to enclose the codes. For
  9.  example, Cyan on Black using Wildcat codes would look like this, @03@, and
  10.  Cyan on Black using G5 codes would look like this, ~03~. The other
  11.  difference is that anything other than the color codes from Wildcat, do
  12.  not work in G5. Like the @PAUSE@, @CLS@, etc.
  13.  
  14.     All color codes use the same format. The first character between the ~
  15.  signs sets the background color, and the second character sets the
  16.  foreground color. When a color code is used, only the text following the
  17.  code on the SAME line will be affected, either up to the end of the line,
  18.  or to the next code. If an invalid code is used to set the foreground or
  19.  background color, then the color will default to Cyan on Black.
  20.  
  21.     Color codes can be used anywhere where user input is allowed. For
  22.  example, when entering your player handle when you first start the game, or
  23.  when writing a message to another user, or when talking with others at an
  24.  Inn on one of the planets.
  25.  
  26.  
  27. ┌───────────────────────────────────────────────────────────────────────────┐
  28. │ Below are the codes used to gain each color.                              │
  29. └───────────────────────────────────────────────────────────────────────────┘
  30.  ~BF~
  31.   │└Foreground color
  32.   └Background color
  33.  
  34.  ────────────────────────────────────────────────────────────────────────────
  35.   Background Colors                              Foreground Colors
  36.  ────────────────────────────────────────────────────────────────────────────
  37.    0 = Black                                      0 = Black
  38.    1 = Blue                                       1 = Blue
  39.    2 = Green                                      2 = Green
  40.    3 = Cyan                                       3 = Cyan
  41.    4 = Red                                        4 = Red
  42.    5 = Magenta                                    5 = Magenta
  43.    6 = Brown (dark yellow)                        6 = Brown (dark yellow)
  44.    7 = Gray                                       7 = Light Gray
  45.    8 = Black (blinks foreground)                  8 = Dark Gray (light black)
  46.    9 = Blue (blinks foreground)                   9 = Light Blue
  47.    A = Green (blinks foreground)                  A = Light Green
  48.    B = Cyan (blinks foreground)                   B = Light Cyan
  49.    C = Red (blinks foreground)                    C = Light Red
  50.    D = Magenta (blinks foreground)                D = Light Magenta
  51.    E = Brown (blinks foreground)                  E = Light Yellow
  52.    F = Gray (blinks foreground)                   F = White
  53.  
  54.   Examples,
  55.             ~03~This would be cyan on black.
  56.             ~1F~This would be white on a blue background.
  57.             ~84~This would be blinking red on a black background.
  58.  
  59. ┌───────────────────────────────────────────────────────────────────────────┐
  60. │    There are also some other codes that can be used, but probably aren't  │
  61. │ as useful to game players, as they will be to third party programmers.    │
  62. │ They are listed below.                                                    │
  63. └───────────────────────────────────────────────────────────────────────────┘
  64.  
  65.  
  66. ┌───────────────────────────────────────────────────────────────────────────┐
  67. │ Miscellaneous codes                                                       │
  68. └───────────────────────────────────────────────────────────────────────────┘
  69.   ~XX~ = Clears the screen
  70.   ~<>~ = Calls a <PAUSE> prompt and pauses display until a key is pressed.
  71.  
  72.  
  73. ┌───────────────────────────────────────────────────────────────────────────┐
  74. │ P as first character, represents the planets                              │
  75. └───────────────────────────────────────────────────────────────────────────┘
  76.   ~PP~ = Display the name of the current planet that the player is on.
  77.   ~PL~ = Use the light color of the current planet.
  78.   ~PD~ = Use the dark color of the current planet.
  79.   ~P!~ = Display name of the person the player can flirt with at the Inn.
  80.          When this code is used, it will display the appropriate name of the
  81.          person that they can flirt with at the inn of the planet they are
  82.          on. For example, if the player is male, then the name of the female
  83.          worker at the inn will be shown, and the male workers name will be
  84.          shown for a female caller.
  85.   ~PM~ = Display the name of the male mate at the inn.
  86.   ~PF~ = Display the name of the female mate at the inn.
  87.   ~P1~ = Display the name of the first planet.
  88.   ~P2~ = Display the name of the second planet.
  89.   ~P3~ = Display the name of the third planet.
  90.   ~P4~ = Display the name of the fourth planet.
  91.   ~P5~ = Display the name of the fifth planet.
  92.  
  93.  
  94. ┌───────────────────────────────────────────────────────────────────────────┐
  95. │ W as first character represents the the player (Warrior)                  │
  96. └───────────────────────────────────────────────────────────────────────────┘
  97.   ~WH~ = Display the players handle.
  98.   ~WM~ = Display the players money in pocket.
  99.   ~WB~ = Display the players money in bank.
  100.   ~WL~ = Display the players looks.
  101.   ~WR~ = Display the players ranking.
  102.   ~WW~ = Display the players Weapon name.
  103.   ~WA~ = Display the players Armour name.
  104.   ~WS~ = Display the players Ship name.
  105.   ~WF~ = Display the players fuel on board.
  106.   ~W!~ = Display the players current health status.
  107.   ~W%~ = Display the players maximum health.
  108.   ~WT~ = Display the players time left.
  109.   ~WP~ = Display number of power moves left.
  110.   ~W*~ = Display the players player type.
  111.   ~WO~ = Display name of person this player is married to (if any).
  112.   ~WD~ = Display the name of the warrior droid to fight for players
  113.          current level.
  114.  
  115.  
  116. ┌───────────────────────────────────────────────────────────────────────────┐
  117. │ M as first character represents the current enemy                         │
  118. └───────────────────────────────────────────────────────────────────────────┘
  119.    **NOTE** These codes can only be used after an enemy record is read
  120.             from the ENEMIES.DAT file. Otherwise, they will be a blank.
  121.  
  122.   ~MN~ = Display current enemy's name.
  123.   ~MW~ = Display current enemy's weapon name.
  124.   ~MH~ = Display current enemy's health factor.
  125.   ~MP~ = Display string used when enemy gets a power move in.
  126.   ~MK~ = Display string used when player kills enemy with good move.
  127.  
  128.  
  129. ┌───────────────────────────────────────────────────────────────────────────┐
  130. │ U as first character represents user variables                            │
  131. └───────────────────────────────────────────────────────────────────────────┘
  132.   These codes are used in the XPORTS.DAT file on the command line for your
  133.   Xport if you need to pass user info to your door on the command line.
  134.  
  135.   ~UF~ = Users first name.
  136.   ~UL~ = Users last name.
  137.   ~UI~ = IRQ number.
  138.   ~UC~ = Com port number.
  139.   ~UE~ = Keeping a log of errors in GALAXY5.LOG (will read TRUE or FALSE)?
  140.   ~UB~ = Baud rate.
  141.   ~UN~ = Node number.
  142.   ~UD~ = Full path and file name to DROPFILE.* file.
  143.   ~UP~ = Full path and file name of NODE*.DAT file.
  144.   ~UR~ = Full path and file name of DORINFO*.DEF file.
  145.  
  146.  
  147. ┌───────────────────────────────────────────────────────────────────────────┐
  148. │ $ as first character is used for prices on a few things                   │
  149. └───────────────────────────────────────────────────────────────────────────┘
  150.   These codes will display the correct price to the caller. The price that
  151.   the SysOp sets for the meals and drinks, are multiplied by the players
  152.   level to determine how much it will cost each individual player.
  153.  
  154.   ~$M~ = Cost to buy a meal.
  155.   ~$D~ = Cost to buy a drink.
  156.  
  157.  
  158. ┌───────────────────────────────────────────────────────────────────────────┐
  159. │ + as first character represents Weapon prices                             │
  160. └───────────────────────────────────────────────────────────────────────────┘
  161.   These codes are numerical. 0 thru 9. ~+0~ will display what the 10th
  162.   weapon costs, etc.
  163.  
  164.   ~+?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
  165.          the price of the 10th weapon, 1 the price of the first weapon, etc.
  166.  
  167.  
  168. ┌───────────────────────────────────────────────────────────────────────────┐
  169. │ ( as first character represents Armour prices                             │
  170. └───────────────────────────────────────────────────────────────────────────┘
  171.   These codes are numerical. 0 thru 9. ~(0~ will display what the 10th
  172.   armour costs, etc.
  173.  
  174.   ~(?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
  175.          the price of the 10th armour, 1 the price of the first armour, etc.
  176.  
  177.  
  178. ┌───────────────────────────────────────────────────────────────────────────┐
  179. │ ) as first character represents Space Craft prices                        │
  180. └───────────────────────────────────────────────────────────────────────────┘
  181.   These codes are numerical. 0 thru 9. ~)0~ will display what the 10th
  182.   space craft costs, etc.
  183.  
  184.   ~)?~ = Where you replace ? with a number between 0 and 9. Using 0 will give
  185.          the price of the 10th space craft, 1 the price of the first space
  186.          craft, etc.
  187.  
  188.  
  189. ┌───────────────────────────────────────────────────────────────────────────┐
  190. │ Player Kills Info                                                         │
  191. └───────────────────────────────────────────────────────────────────────────┘
  192.   These codes can be used to display the player with the most player kills,
  193.   and the amount of his/her highest kills.
  194.  
  195.   ~K!~ = Display the players handle with the most player kills.
  196.   ~K#~ = Display the amount of player kills that the player who holds the
  197.          record of the most kills has.
  198.  
  199.  
  200.  
  201.  ───────────────────────────────────────────────────────────────────────────
  202.